package cn.wolfcode.crm.mapper;

import cn.wolfcode.crm.domain.Recruit;
import cn.wolfcode.crm.domain.Salary;
import cn.wolfcode.crm.query.QueryForObject;
import cn.wolfcode.crm.query.SalaryQueryForObject;

import java.util.List;

public interface RecruitMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Recruit record);

    Recruit selectByPrimaryKey(Long id);

    List<Recruit> selectAll();

    int updateByPrimaryKey(Recruit record);

    int queryForCount(QueryForObject qo);

    List<Recruit> queryForList(QueryForObject qo);
}